package com.example.three.Controller;

import com.example.three.DO.SysOfficeProd;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;
import java.util.ArrayList;
import java.util.List;

@Controller

public class LoginController {

    @RequestMapping("/begin")
    public String login(HttpSession session) {
        List<SysOfficeProd> shop = new ArrayList<>();
        session.setAttribute("shopcat",shop);
        return "Login2";
    }
}